<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css新增属性选择器</title>
    <style>
        /* input[value] {
            color: skyblue;
        }  */

        input[type=text] {
            color: skyblue;
        }
        input:first-child{
            border: 1px solid red;
        }
        span::before{
            content: "bbbb";
        }
        span::after{
            content: "aaaa";
        }

        
    </style>
</head>

<body>
    <!-- <input type="text" value="请输入用户名">
    <input type="text"> -->
    <span>111</span>
    <input type="text">
    <input type="text">
    <input type="text">
    <input type="text">
    <input type="password">
</body>

</html>